'use strict';

define(['../../services'], function (services) {
    services.log.register('SlowService', ['$resource', function ($resource) {
        return $resource('/rest/log/slow/:id', {id: '@id'}, {
            query: {
                isArray: false
            },
            findCollections: {
                url: '/rest/solr/collection/query',
                method: 'GET',
                isArray: true
            }
        });
    }]);
});